package java68_7;

public class JavaTeacher extends Teacher {
    public JavaTeacher(String name, String school) {
        //子类的构造方法
        super(name, school);
        System.out.println("子类的构造方法");
    }
    public void giveLession(){
        System.out.println("打开idea 2018");
        System.out.println("实施理论授课");
        super.giveLession();
    }

    @Override
    protected void buzhiZuoye() {
        System.out.println(super.name+"在布置java作业");
    }

    public void workOnLinux(){
        System.out.println("这个java老师"+super.name+" 在Linux上工作");
    }
}
